<?php
/**
 *用户详细信息数据类
 *
 *@author Judasnow@gmail.com
 *@time 2010-3-28 to 2010-4-20
 *@version 1.2
 *@todo 
 */

class db_obj_user_profile extends db_obj{

	public function __construct( $db ){
		
		parent::__construct( $db , 'user_profile' , 'username' );
		
		$this->add('username' , '' );
		$this->add('nick' , '' );
		$this->add('sex' , '' );
		$this->add('location','' );
		$this->add('motto' , '' );
 
	}	
}
